let mongoose = require('mongoose');

let commonTask = null;
let task = new mongoose.Schema({
    type : Number, //类型 日常还是成长
    id : Number,
    title :String,
    desc : String, //描述
    value : Number, //数值
    reward : [require('./taskconfig.level')] //奖励
},{versionKey:false});

module.exports = task;